package designPattern.behavioralPattern.mediator;

/**
 * @author wei.zhao
 * @description: 抽象同事类
 * @date 2021年12月23日 11:55
 */
public abstract class Colleague {

    protected Mediator mediator;

    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }

    public abstract void receive();

    public abstract void send();

}
